package com.ouc.openplatform.zykt.authManage.service;

import java.util.List;

import com.ouc.openplatform.pojo.EUDataGridResult;
import com.ouc.openplatform.zykt.authManage.model.NJ_AuthorityInfo;

public interface NJ_AuthorityInfoService {
	//1.增加权限信息-----sxl
	public int saveAuthorityInfo(NJ_AuthorityInfo authorityinfo);
	//2.删除权限信息-----sxl
	public int deleteAuthorityInfo(int id);
	//3.修改权限信息-----sxl
	public int updateAuthorityInfo(NJ_AuthorityInfo authorityinfo);
	//4.查询权限信息(datagrid专用)-----sxl
	public EUDataGridResult getAllAuthorityInfo(NJ_AuthorityInfo authorityinfo,int page, int rows);
//	//4.查询权限信息(treegrid专用)-----sxl
//	public EUDataGridResult getAllAuthorityInfo(NJ_AuthorityInfo authorityinfo);
	//5.查询权限信息-----sxl
	public List<NJ_AuthorityInfo> getAuthorityInfo(NJ_AuthorityInfo authorityinfo);
	//获取相应父节点的权限信息
	public List<NJ_AuthorityInfo> getAuthorityInfoByParentid(int parentid);
}
